package com.ulrica.morning.dto.tcmsp;

import lombok.Data;

import java.util.Objects;

/**
 * 药品靶点信息
 *
 * @author LongKui
 * @since 2022/06/29
 */
@Data
public class Targets {
//    private String molecule_ID;
    /**
     * Mol ID
     */
    private String MOL_ID;
    /**
     * Molecule name
     */
    private String molecule_name;
    /**
     * Target name
     */
    private String target_name;
//    private String target_ID;
    /**
     * Source
     * drugbank_ID!='h001' ? DrugBank : N/A
     */
    private String drugbank_ID;
    /**
     * status
     * validated!='validated' ? '' : validated
     */
    private String validated;
//    private String SVM_score;
//    private String RF_score;


    @Override
    public String toString() {
        return MOL_ID + "\t" +
                molecule_name + "\t" +
                target_name + "\t" +
                (Objects.equals("h001", drugbank_ID) ? "N/A" : "DrugBank") + "\t" +
                (Objects.equals("validated", validated) ? "validated" : "");
    }
}
